package cn.zhaoyuening.hnistalumnirecord.dao;

import cn.zhaoyuening.hnistalumnirecord.domain.News;

import java.io.Serializable;

/**
 * Created by zhao on 17-1-17.
 */
public interface NewsDao extends BaseDao<News>{
    long getTotalRecordByModuleId(Serializable id);
    long getTotalRecordByModuleIdAndTitle(Serializable id, String title);
}
